package ATM.logic;

import ATM.gui.Screen;

public class AtmRun {

	private Screen screen;

	// Constructor with no arguments
	public AtmRun() {
		screen = new Screen();

		// add listeners to screens
		// screen.getWelcome().addActionListener(new WelcomeActionListener());

	}

	public void run() {
		// Show the Welcome Screen
		screen.show(Screen.WELCOME);
		screen.setVisible(true);

		TimerInterest t1 = new TimerInterest(screen);
		t1.start();
		
		
	}

} // end class